package com.oliver.picturebackendopenfign.feignClient;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper;
import com.oliver.picturebackendmodel.model.entity.Picture;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
* @author snow
* @description 针对表【picture(图片)】的数据库操作Service
* @createDate 2024-12-13 20:43:11
*/
@FeignClient(name = "picture-backend-picture-service",path = "/api/picture/inner")
public interface PictureFeignClient {

    @GetMapping("/getBaseMapper")
    BaseMapper<Picture> getBaseMapper();

    default LambdaQueryChainWrapper<Picture> lambdaQuery(){
        return new LambdaQueryChainWrapper<>(Picture.class);
    }
}
